Optimal. Leaf size=103 \[ \frac {3 a^{5/2} \tanh ^{-1}\left (\frac {\sqrt {a+a \sin (c+d x)}}{\sqrt {2} \sqrt {a}}\right )}{16 \sqrt {2} d}+\frac {3 a \sec ^2(c+d x) (a+a \sin (c+d x))^{3/2}}{16 d}+\frac {\sec ^4(c+d x) (a+a \sin (c+d x))^{5/2}}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {2754, 2746, 65,
212} \begin {gather*} \frac {3 a^{5/2} \tanh ^{-1}\left (\frac {\sqrt {a \sin (c+d x)+a}}{\sqrt {2} \sqrt {a}}\right )}{16 \sqrt {2} d}+\frac {\sec ^4(c+d x) (a \sin (c+d x)+a)^{5/2}}{4 d}+\frac {3 a \sec ^2(c+d x) (a \sin (c+d x)+a)^{3/2}}{16 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 212
Rule 2746
Rule 2754
Rubi steps
\begin {align*} \int \sec ^5(c+d x) (a+a \sin (c+d x))^{5/2} \, dx &=\frac {\sec ^4(c+d x) (a+a \sin (c+d x))^{5/2}}{4 d}+\frac {1}{8} (3 a) \int \sec ^3(c+d x) (a+a \sin (c+d x))^{3/2} \, dx\\ &=\frac {3 a \sec ^2(c+d x) (a+a \sin (c+d x))^{3/2}}{16 d}+\frac {\sec ^4(c+d x) (a+a \sin (c+d x))^{5/2}}{4 d}+\frac {1}{32} \left (3 a^2\right ) \int \sec (c+d x) \sqrt {a+a \sin (c+d x)} \, dx\\ &=\frac {3 a \sec ^2(c+d x) (a+a \sin (c+d x))^{3/2}}{16 d}+\frac {\sec ^4(c+d x) (a+a \sin (c+d x))^{5/2}}{4 d}+\frac {\left (3 a^3\right ) \text {Subst}\left (\int \frac {1}{(a-x) \sqrt {a+x}} \, dx,x,a \sin (c+d x)\right )}{32 d}\\ &=\frac {3 a \sec ^2(c+d x) (a+a \sin (c+d x))^{3/2}}{16 d}+\frac {\sec ^4(c+d x) (a+a \sin (c+d x))^{5/2}}{4 d}+\frac {\left (3 a^3\right ) \text {Subst}\left (\int \frac {1}{2 a-x^2} \, dx,x,\sqrt {a+a \sin (c+d x)}\right )}{16 d}\\ &=\frac {3 a^{5/2} \tanh ^{-1}\left (\frac {\sqrt {a+a \sin (c+d x)}}{\sqrt {2} \sqrt {a}}\right )}{16 \sqrt {2} d}+\frac {3 a \sec ^2(c+d x) (a+a \sin (c+d x))^{3/2}}{16 d}+\frac {\sec ^4(c+d x) (a+a \sin (c+d x))^{5/2}}{4 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 110, normalized size = 1.07 \begin {gather*} \frac {3 \sqrt {2} a^{5/2} \tanh ^{-1}\left (\frac {\sqrt {a (1+\sin (c+d x))}}{\sqrt {2} \sqrt {a}}\right ) \left (\cos \left (\frac {1}{2} (c+d x)\right )-\sin \left (\frac {1}{2} (c+d x)\right )\right )^4+2 a^2 (7-3 \sin (c+d x)) \sqrt {a (1+\sin (c+d x))}}{32 d (-1+\sin (c+d x))^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.62, size = 107, normalized size = 1.04
method | result | size |
default | \(-\frac {2 a^{5} \left (-\frac {\sqrt {a +a \sin \left (d x +c \right )}}{8 a \left (a \sin \left (d x +c \right )-a \right )^{2}}-\frac {3 \left (-\frac {\sqrt {a +a \sin \left (d x +c \right )}}{4 a \left (a \sin \left (d x +c \right )-a \right )}+\frac {\sqrt {2}\, \arctanh \left (\frac {\sqrt {a +a \sin \left (d x +c \right )}\, \sqrt {2}}{2 \sqrt {a}}\right )}{8 a^{\frac {3}{2}}}\right )}{8 a}\right )}{d}\) | \(107\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.64, size = 134, normalized size = 1.30 \begin {gather*} -\frac {3 \, \sqrt {2} a^{\frac {7}{2}} \log \left (-\frac {\sqrt {2} \sqrt {a} - \sqrt {a \sin \left (d x + c\right ) + a}}{\sqrt {2} \sqrt {a} + \sqrt {a \sin \left (d x + c\right ) + a}}\right ) + \frac {4 \, {\left (3 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} a^{4} - 10 \, \sqrt {a \sin \left (d x + c\right ) + a} a^{5}\right )}}{{\left (a \sin \left (d x + c\right ) + a\right )}^{2} - 4 \, {\left (a \sin \left (d x + c\right ) + a\right )} a + 4 \, a^{2}}}{64 \, a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 147, normalized size = 1.43 \begin {gather*} \frac {3 \, {\left (\sqrt {2} a^{2} \cos \left (d x + c\right )^{2} + 2 \, \sqrt {2} a^{2} \sin \left (d x + c\right ) - 2 \, \sqrt {2} a^{2}\right )} \sqrt {a} \log \left (-\frac {a \sin \left (d x + c\right ) + 2 \, \sqrt {2} \sqrt {a \sin \left (d x + c\right ) + a} \sqrt {a} + 3 \, a}{\sin \left (d x + c\right ) - 1}\right ) + 4 \, {\left (3 \, a^{2} \sin \left (d x + c\right ) - 7 \, a^{2}\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{64 \, {\left (d \cos \left (d x + c\right )^{2} + 2 \, d \sin \left (d x + c\right ) - 2 \, d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 5.09, size = 112, normalized size = 1.09 \begin {gather*} -\frac {\sqrt {2} a^{\frac {5}{2}} {\left (\frac {2 \, {\left (3 \, \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} - 5 \, \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{{\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )}^{2}} - 3 \, \log \left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right ) + 3 \, \log \left (-\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )\right )} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}{64 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+a\,\sin \left (c+d\,x\right )\right )}^{5/2}}{{\cos \left (c+d\,x\right )}^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________